home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
logman.zip
/
LOGMAN.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-12-27
|
4KB
|
177 lines
@echo off
:start
cls
type res1.ans
key
if errorlevel 65 if not errorlevel 66 goto one
if errorlevel 66 if not errorlevel 67 goto two
if errorlevel 67 if not errorlevel 68 goto three
if errorlevel 68 if not errorlevel 69 goto four
if errorlevel 69 if not errorlevel 70 goto five
if errorlevel 70 if not errorlevel 71 goto six
if errorlevel 71 if not errorlevel 72 goto seven
if errorlevel 72 if not errorlevel 73 goto eight
if errorlevel 73 if not errorlevel 74 goto nine
if errorlevel 74 if not errorlevel 75 goto ten
if errorlevel 75 if not errorlevel 76 goto eleven
if errorlevel 76 if not errorlevel 77 goto twelve
if errorlevel 77 if not errorlevel 78 goto thirteen
if errorlevel 79 if not errorlevel 80 goto fourteen
if errorlevel 80 if not errorlevel 81 goto fifteen
if errorlevel 81 if not errorlevel 82 goto sixteen
if errorlevel 82 if not errorlevel 83 goto seventeen
:one
cls
type tnet.log|more
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:two
cls
echo .........printing.
copy tnet.log prn
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:three
cls
type ques.ans
key
if errorlevel 89 if not errorlevel 90 goto ers_tnet
if errorlevel 78 if not errorlevel 79 goto no
:ers_tnet
erase tnet.log
echo File Deleted.
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:no
goto start
:four
cls
type mailrun.log|more
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:five
cls
echo ........printing.
copy mailrun.log prn
echo Strike a key to return
echo to the Log Manager.
:six
cls
type ques.ans
key
if errorlevel 89 if not errorlevel 90 goto ers_mrun
if errorlevel 78 if not errorlevel 79 goto no
:ers_mrun
erase mailrun.log
echo File Deleted
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:seven
cls
type dupmsg.log|more
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:eight
cls
echo ........printing
copy dupmsg.log prn
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:nine
cls
type ques.ans
key
if errorlevel 89 if not errorlevel 90 goto ers_dupm
if errorlevel 78 if not errorlevel 79 goto no
:ers_dupm
erase dupmsg.log
echo File Deleted
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:ten
cls
type wcfile.log|more
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:eleven
cls
echo ........printing.
copy wcfile.log prn
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:twelve
cls
type ques.ans
key
if errorlevel 89 if not errorlevel 90 goto ers_wcfi
if errorlevel 78 if not errorlevel 79 goto no
:ers_wcfi
erase wcfile.log
echo File Deleted.
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:thirteen
cls
type error.log|more
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:fourteen
cls
copy error.log prn
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:fifteen
cls
type ques.ans
key
if errorlevel 89 if not errorlevel 90 goto ers_erlg
if errorlevel 78 if not errorlevel 79 goto no
:ers_erlg
erase error.log
echo File Deleted.
echo Strike a key to return
echo to the Log Manager.
pause > nul
goto start
:sixteen
cls
echo Thank You for using Log Manager!
echo Strike a key to return to DOS.
pause > nul
goto end
:seventeen
cls
echo Thank You for using Log Manager!
echo Strike a key to start WILDCAT!
pause > nul
goto eighteen
:eighteen
cls
cat
:end